﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yqd.Enm;

namespace Yqd.Models
{
    public class Yqd_PlanProgress
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ProgressID { get; set; }

        [DisplayName("任务编号")]
        public long TaskID { get; set; }

        [DisplayName("事项编号（钉办督导编号、申请协调编号")]
        public int ItemID { get; set; }

        [DisplayName("事项类型（钉办督到、申请协调）")]
        public 事项类型 ItemType { get; set; }

        [DisplayName("交办编号")]
        public int AssignID { get; set; }

        [DisplayName("工作计划编号")]
        public int PlanID { get; set; }

        [DisplayName("办理情况")]
        public 任务计划办理情况 PlanStatus { get; set; }

        [DisplayName("办结结果")]
        [StringLength(500)]
        public string PlanResult { get; set; }

        [DisplayName("延期原因")]
        [StringLength(500)]
        public string DelayReason { get; set; }

        [DisplayName("延期时间")]
        public DateTime DelayTime { get; set; }

        [DisplayName("审核状态")]
        public 审核状态 CheckStatus { get; set; }

        [DisplayName("退回原因")]
        public string ReturnReason { get; set; }

        [DisplayName("审核时间")]
        public DateTime? CheckTime { get; set; }

        [DisplayName("创建时间")]
        public DateTime Instime { get; set; }

        [DisplayName("创建者")]
        [StringLength(50)]
        public string EmployeeCode { get; set; }

        [DisplayName("部门")]
        [StringLength(50)]
        public string UnitCode { get; set; }
    }
}
